package com.aaa.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.io.Serializable;

/**
 * (HisPatientFile)实体类
 *
 * @author makejava
 * @since 2023-03-24 20:05:39
 */
@TableName(value ="his_patient_file")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class HisPatientFile implements Serializable {
    private static final long serialVersionUID = 170924415997396175L;
    /**
     * 患者id
     */
    @TableId
    private String patientId;
    /**
     * 紧急联系人
     */
    private String emergencyContactName;
    /**
     * 紧急联系人电话
     */
    private String emergencyContactPhone;
    /**
     * 爸爸,妈妈,儿子,女儿,亲戚,朋友
     */
    private String emergencyContactRelation;
    /**
     * 左耳听力 正常  耳聋
     */
    private String leftEarHearing;
    /**
     * 右耳听力 正常  耳聋
     */
    private String rightEarHearing;
    /**
     * 左眼视力
     */
    private Double leftVision;
    /**
     * 右眼视力
     */
    private Double rightVision;
    /**
     * 身高
     */
    private Double height;
    /**
     * 体重
     */
    private Double weight;
    /**
     * 血型 A  B  AB  O    R-阴 RH-阳
     */
    private String bloodType;
    /**
     * 个人史
     */
    private String personalInfo;
    /**
     * 家族史
     */
    private String familyInfo;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;


    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }

    public String getEmergencyContactName() {
        return emergencyContactName;
    }

    public void setEmergencyContactName(String emergencyContactName) {
        this.emergencyContactName = emergencyContactName;
    }

    public String getEmergencyContactPhone() {
        return emergencyContactPhone;
    }

    public void setEmergencyContactPhone(String emergencyContactPhone) {
        this.emergencyContactPhone = emergencyContactPhone;
    }

    public String getEmergencyContactRelation() {
        return emergencyContactRelation;
    }

    public void setEmergencyContactRelation(String emergencyContactRelation) {
        this.emergencyContactRelation = emergencyContactRelation;
    }

    public String getLeftEarHearing() {
        return leftEarHearing;
    }

    public void setLeftEarHearing(String leftEarHearing) {
        this.leftEarHearing = leftEarHearing;
    }

    public String getRightEarHearing() {
        return rightEarHearing;
    }

    public void setRightEarHearing(String rightEarHearing) {
        this.rightEarHearing = rightEarHearing;
    }

    public Double getLeftVision() {
        return leftVision;
    }

    public void setLeftVision(Double leftVision) {
        this.leftVision = leftVision;
    }

    public Double getRightVision() {
        return rightVision;
    }

    public void setRightVision(Double rightVision) {
        this.rightVision = rightVision;
    }

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public String getBloodType() {
        return bloodType;
    }

    public void setBloodType(String bloodType) {
        this.bloodType = bloodType;
    }

    public String getPersonalInfo() {
        return personalInfo;
    }

    public void setPersonalInfo(String personalInfo) {
        this.personalInfo = personalInfo;
    }

    public String getFamilyInfo() {
        return familyInfo;
    }

    public void setFamilyInfo(String familyInfo) {
        this.familyInfo = familyInfo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}

